﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes.Managers {
    import Engine.Managers.*;

    public class GameZaspManager extends ZaspManager {

        override protected function gameDetail():String{
            if (Global.world){
                return ((Global.world.getProfilingGameState()["description"] as String));
            };
            return ("");
        }
        override protected function modifyReport(_arg1:Object):void{
            var _local2:Object = (((Global.world) && (Global.world.gameInitStatus))) ? Global.world.logGetProfilingData(0, true) : null;
            if (_arg1["type"] == "fps"){
                _arg1["constants"] = (_arg1["constants"] + " V:1");
                _arg1["game_state"] = this.gameDetail();
                _arg1["string5"] = (Global.player) ? Global.player.level : -1;
                _arg1["string6"] = LoadingManager.getObjectsLoaded();
                _arg1["string7"] = (_local2) ? _local2["npc"] : 0;
                _arg1["string8"] = (_local2) ? _local2["npcv"] : 0;
                _arg1["number7"] = (_local2) ? _local2["build"] : 0;
                _arg1["number8"] = (_local2) ? _local2["buildv"] : 0;
            } else {
                if (_arg1["type"] == "GPI"){
                    _arg1["level"] = (Global.player) ? Global.player.level : -1;
                };
            };
        }

    }
}//package Classes.Managers 
